Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveSupport Object#blank? #592

Merged
merged 1 commit into from
Jun 9, 2024
Merged

Conversation

hibariya
Copy link
Contributor

@hibariya hibariya commented Jun 8, 2024

No description provided.

Copy link

github-actions bot commented Jun 8, 2024

@hibariya Thanks for your contribution!

Please follow the instructions below for each change.
See also: https://github.com/ruby/gem_rbs_collection/blob/main/docs/CONTRIBUTING.md

Available commands

You can use the following commands by commenting on this PR.

  • /merge: Merge this PR if CI passes

activesupport

You changed RBS files for an existing gem.
You can merge this PR yourself because you are a reviewer of this gem.
Just comment /merge to merge this PR.

You can also request a review from other reviewers if you want.

@ksss
Copy link
Collaborator

ksss commented Jun 8, 2024

$ bundle exec rbs diff --detail --format diff --type-name String --before gems/activesupport/6.0 --after hibariya-hi-activesupport-jun-8a/6.0
- [::String public] def blank?: () -> untyped
+ [::String public] def blank?: () -> bool

- [::Object public] def present?: () -> untyped
+ [::Object public] def present?: () -> bool

- [::Object public] def presence: () -> untyped
+ [::Object public] def presence: () -> self?

- [::Object public] def self.blank?: () -> untyped
+ [::Object public] def self.blank?: () -> bool

- [::Object public] def self.present?: () -> untyped
+ [::Object public] def self.present?: () -> bool

- [::Object public] def self.presence: () -> untyped
+ [::Object public] def self.presence: () -> self?

- [::String] BLANK_RE: untyped
+ [::String] BLANK_RE: ::Regexp

- [::String] ENCODED_BLANKS: untyped
+ [::String] ENCODED_BLANKS: Concurrent::Map[::Encoding, ::Regexp]

@ksss
Copy link
Collaborator

ksss commented Jun 8, 2024

Copy link
Collaborator

@ksss ksss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ksss ksss merged commit e811b1e into ruby:main Jun 9, 2024
5 checks passed
soutaro pushed a commit that referenced this pull request Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants